package com.colorful.insuranceproject.base;

import android.view.View;

import com.colorful.insuranceproject.R;


/**
 * Created by handsome-bob on 2017/2/14.
 */

public abstract class PLEFragment extends com.lovely3x.common.fragments.PLEFragment {

    @Override
    public void handleEmptyContent(View.OnClickListener listener) {
        emptyContainerCheck();
        if (transitionView != null) {
            emptyContainer.removeView(transitionView);
        }
        transitionView = getLayoutInflater().inflate(R.layout.view_empty_tip_gray, emptyContainer, false);
          transitionView.findViewById(com.lovely3x.common.R.id.ll_view_empty_click_area).setOnClickListener(listener);
        // TODO: 17/3/3
        emptyContainer.addView(transitionView);
    }
}
